package com.un10.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Shoppingcart {
	private int scartID;
	private String proName;
	private int quantity;
	private  BigDecimal price;
	private int userID;
	private Date AddOntime;

	/**
	 * @param scartID
	 * @param proName
	 * @param quantity
	 * @param userID
	 * @param addOntime
	 * @param price
	 */
	public Shoppingcart(int scartID, String proName, int quantity, int userID, Date addOntime, BigDecimal price) {
		this.scartID = scartID;
		this.proName = proName;
		this.quantity = quantity;
		this.userID = userID;
		AddOntime = addOntime;
		this.price = price;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public int getScartID() {
		return scartID;
	}
	public void setScartID(int scartID) {
		this.scartID = scartID;
	}
	public String getProName() {
		return proName;
	}
	public void setProName(String proName) {
		this.proName = proName;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public Date getAddOntime() {
		return AddOntime;
	}
	public void setAddOntime(Date addOntime) {
		AddOntime = addOntime;
	}
	
	public Shoppingcart() {
		super();
	}

	

}
